package Lecture17;

public class noAmuException extends Exception {

	private static final long serialVersionUID = -5899980987744714056L;
	
	private int wantedAmu;
	
	public noAmuException() {
		super();
	}
	
	public noAmuException(int wantedAmu){
		this("I want this ammunition " + wantedAmu);
		this.wantedAmu = wantedAmu;
	}
	
	public noAmuException(String message) {
		super(message);
	}

	public noAmuException(Throwable cause) {
		super(cause);
	}

	public noAmuException(String message, Throwable cause) {
		super(message, cause);
	}

}
